package com.ruoyi.process.mapper;

import java.util.List;
import com.ruoyi.process.domain.Processflow;

/**
 * indexMapper接口
 * 
 * @author wuenguo
 * @date 2025-06-10
 */
public interface ProcessflowMapper 
{
    /**
     * 查询index
     * 
     * @param pfid index主键
     * @return index
     */
    public Processflow selectProcessflowByPfid(Long pfid);

    /**
     * 查询index列表
     * 
     * @param processflow index
     * @return index集合
     */
    public List<Processflow> selectProcessflowList(Processflow processflow);

    /**
     * 新增index
     * 
     * @param processflow index
     * @return 结果
     */
    public int insertProcessflow(Processflow processflow);

    /**
     * 修改index
     * 
     * @param processflow index
     * @return 结果
     */
    public int updateProcessflow(Processflow processflow);

    /**
     * 删除index
     * 
     * @param pfid index主键
     * @return 结果
     */
    public int deleteProcessflowByPfid(Long pfid);

    /**
     * 批量删除index
     * 
     * @param pfids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProcessflowByPfids(Long[] pfids);
}
